/* McPacket.cpp
 *
 * --
 * Copyright (c) 2012, Christophe Huriaux
 * Distributed under the terms of the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * --
 */

#include <packet/McPacket.h>

McPacket::McPacket(unsigned int id)
	: packetId(id)
{

}

McPacketToServer::McPacketToServer(unsigned int id)
	: McPacket(id)
{
}

McPacketFromServer::McPacketFromServer(unsigned int id)
	: McPacket(id)
{
}

int McPacket::getPacketId()
{
	return packetId;
}
